package org.khd.gift.exception;

/**
 * 自定义响应码
 */
public enum ResponseCode {
    RESPONSE_CODE_200(200,"操作成功!"),
    RESPONSE_CODE_400(400,"参数校验错误!"),
    RESPONSE_CODE_500(500,"网络异常,请刷新重试!"),
    RESPONSE_CODE_10010(10010,"两次密码不一致,请重新输入!"),
    RESPONSE_CODE_10011(10011,"店铺名称已存在，请重新输入!"),
    RESPONSE_CODE_10012(10012,"登录过期，请重新登录!"),
    RESPONSE_CODE_10013(10013,"老铁，您不选中数据，臣妾上架不了啊!"),
    RESPONSE_CODE_10014(10014,"老铁，您不选中数据，臣妾下架不了啊!"),
    RESPONSE_CODE_10015(10015,"请选择满足审核通过且已经下架的车辆进行上架!"),
    RESPONSE_CODE_10016(10016,"评论不合规，请遵循上网规范，绿色上网!"),
    RESPONSE_CODE_10017(10017,"该评论不存在!"),
    RESPONSE_CODE_10018(10018,"验证码已过期，请重新获取!"),
    RESPONSE_CODE_10019(10019,"验证码输入错误，请重新输入!"),
    RESPONSE_CODE_10020(10020,"当前手机号已注册，请直接登录!"),
    RESPONSE_CODE_10021(10021,"请不要频繁发送短信验证码!"),
    RESPONSE_CODE_10022(10022,"用户名或邮箱已存在，请检查后重新输入!"),
    RESPONSE_CODE_10023(10023,"用户名和密码不匹配，请重新登录!"),
    RESPONSE_CODE_10024(10024,"手机号不能为空!"),
    RESPONSE_CODE_10025(10025,"该手机号已经绑定过微信用户!"),
    RESPONSE_CODE_10026(10026,"注册失败!")
    ;

    private Integer code;
    private String message;

    ResponseCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    ResponseCode() {
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
